package com.quanyan.stadium.enums;

import java.io.Serializable;

/**
 * Created by xiaoxiao on 16/6/2.
 *
 * 赛事玩法枚举类
 */
public enum GameCategoryConfigEnum implements Serializable{


    /*CONFIG_GAME_CATEGORY_V3(1, "3人制", "3人制",3, 5),
    CONFIG_GAME_CATEGORY_V4(2, "4人制", "4人制",4, 8),
    CONFIG_GAME_CATEGORY_V5(3, "5人制", "5人制",5, 16),
    CONFIG_GAME_CATEGORY_V7(4, "7人制", "7人制",8, 16),
    CONFIG_GAME_CATEGORY_V9(5, "9人制", "9人制",9, 17),
    CONFIG_GAME_CATEGORY_V11(6, "11人制", "11人制",11, 28),


    CONFIG_GAME_CATEGORY_ALL(7, "团体赛", "团体赛",5, 5),
    CONFIG_GAME_CATEGORY_MALE_ONLY(8, "男单", "男单",1, 1),
    CONFIG_GAME_CATEGORY_FEMALE_ONLY(9, "女单", "女单",1, 1),
    CONFIG_GAME_CATEGORY_MALE_DOUBLE(10, "男双", "男双",2, 2),
    CONFIG_GAME_CATEGORY_FEMALE_DOUBLE(11, "女双", "女双",2, 2),
    CONFIG_GAME_CATEGORY_MIXED_DOUBLE(12, "混双", "混双",2, 2),
    CONFIG_GAME_CATEGORY_NOT_KNOW_ONLY(13, "单打（不分男女）", "单打（不分男女）",1, 1),
    CONFIG_GAME_CATEGORY_NOT_KNOW_DOUBLE(14, "双打（不分男女）", "双打（不分男女）",2, 2);*/


    CONFIG_GAME_CATEGORY_V7(1, "7人制", "7人制",7, 12),
    CONFIG_GAME_CATEGORY_V9(2, "9人制", "9人制", 9, 16),
    CONFIG_GAME_CATEGORY_V11(3, "11人制", "11人制", 11, 28),

    CONFIG_GAME_CATEGORY_V3(4, "3人制", "3人制", 3, 5),
    CONFIG_GAME_CATEGORY_V4(5, "4人制", "4人制", 4, 8),
    CONFIG_GAME_CATEGORY_V5(6, "5人制", "5人制", 5, 16),


    CONFIG_GAME_CATEGORY_NOT_KNOW_ONLY(7, "单打", "单打", 1, 1),
    CONFIG_GAME_CATEGORY_MALE_DOUBLE(8, "男双", "男双", 2, 2),
    CONFIG_GAME_CATEGORY_MIXED_DOUBLE(9, "混双", "混双", 2, 2),
    CONFIG_GAME_CATEGORY_FEMALE_DOUBLE(10, "女双", "女双", 2, 2),

    CONFIG_GAME_CATEGORY_ALL(11, "团体", "团体", 5, 5),
    CONFIG_GAME_CATEGORY_MALE_ONLY(12, "男单", "男单", 1, 1),
    /*CONFIG_GAME_CATEGORY_BAD_DOUBLE_MIX(13, "男双", "男双", 2, 2),  废弃*/
    CONFIG_GAME_CATEGORY_NOT_KNOW_DOUBLE(14, "双打", "双打", 2, 2),
    /*CONFIG_GAME_CATEGORY_BAD_DOUBLE_FEMALE(15, "女双", "女双", 2, 2),  废弃*/
    CONFIG_GAME_CATEGORY_FEMALE_ONLY(16, "女单", "女单", 1, 1),
    CONFIG_GAME_CATEGORY_NOT_KNOW(17, "玩法未设置", "玩法未设置", 0, 0),
    CONFIG_GAME_CATEGORY_V6(18, "6人制", "6人制", 5, 16),
    CONFIG_GAME_CATEGORY_V8(19, "8人制", "8人制", 5, 16);


    /*

    足球：
            “玩法”改为“人制”，下拉框里的可选项有：“11人制、9人制、7人制、5人制”

    篮球：
            “玩法”改为“人制”，下拉框里的可选项有：“5人制、4人制、3人制”

    羽毛球:
    玩法改为 “小项”， 下拉框里有“团体赛、男单、女单、男双、女双、混双、单打（不分男女）、双打（不分男女）”

    网球:
    玩法改为 “小项”， 下拉框里有“团体赛、男单、女单、男双、女双、混双、单打（不分男女）、双打（不分男女）

    */





    private int id;

    private String name;

    private String label;

    private int minNum;

    private int maxNum;

    GameCategoryConfigEnum(int id, String name, String label, int minNum, int maxNum){
        this.id = id;
        this.name = name;
        this.label = label;
        this.minNum = minNum;
        this.maxNum = maxNum;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public int getMinNum() {
        return minNum;
    }

    public void setMinNum(int minNum) {
        this.minNum = minNum;
    }

    public int getMaxNum() {
        return maxNum;
    }

    public void setMaxNum(int maxNum) {
        this.maxNum = maxNum;
    }
}
